﻿using System;
using FFIV.Lib.Utilities;

public partial class Views_Articles_SearchBox : System.Web.UI.UserControl
{
	protected void Page_Load(object sender, EventArgs e)
	{
		btn_Search.Click += btn_Search_Click;
	}

	protected void btn_Search_Click(object sender, EventArgs e)
	{
		string url = UrlUtility.GetSearchUrl(tb_Search.Text);
		Response.Redirect(url);
	}
}
